package com.bea.ftd.common.model;

import java.io.Serializable;

public class BaseResponse implements Serializable {


    private int errorCode;
    private String errorMsg;

    public BaseResponse() {
        this.errorCode=0;
        this.errorMsg="success";
    }

    public BaseResponse(int code,String msg){
        this.errorCode = code;
        this.errorMsg = msg;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

}
